.customer-home-topbar {
  grid-template-columns: auto minmax(0, 1fr) auto;
  background: linear-gradient(180deg, #ffffff 0%, #f5f8ff 100%);
}

.customer-home-tracking-card.customer-home-orders-panel {
  padding: 22px;
  border: 1px solid #dce6f4;
  border-radius: 25px;
  background: linear-gradient(155deg, #fff 58%, #f0f6ff 100%);
  box-shadow: 0 15px 35px rgba(29, 62, 105, .09), 0 4px 10px rgba(29, 62, 105, .035);
}
.customer-home-tracking-card.customer-home-orders-panel.is-empty { border-color: #ccdaf4; background: #e7efff; box-shadow: 0 16px 32px rgba(43, 79, 139, .13), inset 0 1px 0 rgba(255,255,255,.85); }
.customer-home-orders-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.customer-home-orders-heading h3 { margin: 0; font-size: 18px; color: #203d60; }
.customer-home-orders-heading>span { padding: 6px 9px; border-radius: 10px; background: #eaf2ff; color: #3767a4; font-size: 11px; font-weight: 750; }
.customer-home-orders-empty { display: flex; flex-direction: column; align-items: center; padding: 13px 5px 17px; text-align: center; }
.customer-home-empty-cart-icon { display: grid; place-items: center; width: 144px; height: 120px; margin: 0 0 19px; }
.customer-home-empty-cart-icon svg { display: block; width: 144px; height: 120px; filter: drop-shadow(0 6px 7px rgba(52, 93, 151, .1)); }
.customer-home-orders-panel .customer-home-orders-empty h3 { margin: 0; color: #1e3c61; font-size: 23px; line-height: 1.25; letter-spacing: -.7px; font-weight: 850; }
.customer-home-orders-panel .customer-home-orders-empty p { max-width: 290px; margin: 12px 0 22px; color: #5e7597; font-size: 12px; line-height: 1.8; }
.customer-home-orders-empty .customer-home-empty-menu.self-order-primary { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-width: 172px; width: auto; min-height: 45px; margin: 0; padding: 12px 18px; border-radius: 15px; background: #075ab9; color: #fff; font-size: 12px; font-weight: 750; box-shadow: 0 8px 17px rgba(7, 90, 185, .18); }
.customer-home-empty-menu.self-order-primary:hover { background: #064e9f; color: #fff; }
.customer-home-empty-menu svg { width: 17px; height: 17px; }

.customer-home-topbar-back {
  border-radius: 999px;
  background: #eaf3ff;
}

.customer-home-topbar-back svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
}

.customer-home-support-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 11px;
  border: 1px solid rgba(0, 84, 166, 0.28);
  border-radius: 999px 999px 999px 10px;
  background: #0054a6;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(0, 84, 166, 0.18);
  cursor: pointer;
}

.customer-home-support-chip:focus-visible,
.customer-home-support-chip:hover {
  border-color: rgba(0, 84, 166, 0.42);
  background: #064b8d;
  color: #ffffff;
}

.customer-home-support {
  display: grid;
  gap: 7px;
  margin: 14px 0 4px;
  padding: 10px 12px;
  border: 1px solid rgba(47, 85, 146, 0.2);
  border-radius: 8px;
  background: linear-gradient(145deg, #e8f2ff 0%, #f8fbff 100%);
  box-shadow: 0 8px 18px rgba(47, 85, 146, 0.07);
  scroll-margin-top: 78px;
}

.customer-home-support:focus {
  outline: none;
}

.customer-home-support-head {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  margin: -2px -4px 3px;
  padding: 8px 9px;
  border-radius: 7px;
  background: #e5e7eb;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.customer-home-support-logo {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.38);
  border-radius: 10px;
  background: #ffffff;
  color: #0054a6;
}

.customer-home-support-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.customer-home-support-logo svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
}

.customer-home-support-copy {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.customer-home-support-copy strong {
  color: #0054a6;
  font-size: 0.86rem;
  line-height: 1.15;
}

.customer-home-support-copy p {
  margin: 0;
  color: #2f5592;
  font-size: 0.72rem;
  line-height: 1.25;
}

.customer-home-support-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
}

.customer-home-support-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  min-width: 0;
  padding: 2px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #14233d;
  text-decoration: none;
}

.customer-home-support-item span {
  color: #667085;
  font-size: 0.66rem;
  font-weight: 900;
  line-height: 1.25;
}

.customer-home-support-item strong {
  min-width: 0;
  overflow-wrap: anywhere;
  color: #14233d;
  font-size: 0.73rem;
  line-height: 1.25;
}

.customer-home-support-item.is-muted strong {
  color: #8892a3;
}

.customer-home-support-item[href]:focus-visible,
.customer-home-support-item[href]:hover {
  color: #0054a6;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}


.self-order-app > .self-order-topbar:not(.customer-home-topbar) .self-order-table {
  display: none;
}
.customer-home-cart-methods,
.customer-home-choice-grid,
.customer-home-review,
.customer-home-payment-card,
.customer-home-tracking-card,
.customer-home-active-list,
.customer-home-dev-panel {
  display: grid;
  gap: 12px;
}

.customer-home-cart-methods {
  margin: 8px 0 12px;
  padding: 10px;
  border: 1px solid rgba(67, 94, 145, 0.18);
  border-radius: 14px;
  background: linear-gradient(145deg, #e8f1ff 0%, #f6fbff 100%);
  box-shadow: 0 8px 18px rgba(67, 94, 145, 0.08);
}

.customer-home-cart-methods h4,
.customer-home-review h4,
.customer-home-payment-card h3,
.customer-home-tracking-card h3 {
  margin: 0;
  color: #14233d;
  font-size: 0.92rem;
  line-height: 1.2;
}

.customer-home-cart-methods p,
.customer-home-review p,
.customer-home-payment-card p,
.customer-home-tracking-card p {
  margin: 0;
  color: #667085;
  line-height: 1.45;
}

.customer-home-choice-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.customer-home-method-card {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  align-content: center;
  gap: 7px;
  min-height: 52px;
  padding: 8px 28px 8px 10px;
  overflow: hidden;
  border: 1px solid rgba(72, 91, 128, 0.16);
  border-radius: 12px;
  background: #fff;
  color: #334155;
  text-align: left;
  box-shadow: 0 5px 14px rgba(35, 52, 86, 0.05);
  cursor: pointer;
}

.customer-home-method-card::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #c6d1e3;
  box-shadow: 0 0 0 5px rgba(198, 209, 227, 0.22);
}

.customer-home-method-card.active {
  border-color: rgba(67, 94, 145, 0.42);
  background: linear-gradient(145deg, #cbdcff 0%, #e2ecff 100%);
  color: #17396d;
  box-shadow: 0 8px 18px rgba(67, 94, 145, 0.14);
}

.customer-home-method-card.active::after {
  background: #2f5592;
  box-shadow: 0 0 0 5px rgba(47, 85, 146, 0.14);
}

.customer-home-method-copy {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.customer-home-method-card strong,
.customer-home-method-copy strong {
  color: #14233d;
  font-size: 0.82rem;
  white-space: nowrap;
}

.customer-home-method-copy small {
  display: block;
  max-width: 90%;
  color: #667085;
  font-size: 0.68rem;
  line-height: 1.2;
  font-weight: 500;
}

.customer-home-checkout .self-order-section-head {
  margin-bottom: 8px;
}

.customer-home-summary-card {
  width: 100%;
  min-width: 0;
  margin: 7px 0;
  border: 1px solid rgba(67, 94, 145, 0.14);
  border-radius: 10px;
  background: linear-gradient(145deg, #edf4ff 0%, #ffffff 78%);
  box-shadow: 0 4px 12px rgba(35, 52, 86, 0.04);
}

.customer-home-summary-card .total {
  min-height: 18px;
  padding: 1px 9px;
  gap: 8px;
}

.customer-home-summary-card .total span,
.customer-home-summary-card .total strong {
  color: #11233d;
  font-size: 0.78rem;
  font-weight: 900;
}

.customer-home-checkout-shell {
  border: 0;
  border-radius: 15px;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 24%);
  box-shadow: 0 10px 26px rgba(35, 52, 86, 0.08);
}

.customer-home-checkout .self-order-checkout {
  grid-template-columns: 1fr;
  gap: 9px;
  padding: 10px;
}

.customer-home-checkout .wide,
.customer-home-checkout .self-order-customer-field {
  display: grid;
  gap: 5px;
}

.customer-home-checkout label span,
.customer-home-checkout .self-order-customer-field span {
  color: #14233d;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.customer-home-checkout input,
.customer-home-checkout textarea {
  border-color: rgba(72, 91, 128, 0.2);
  border-radius: 13px;
  background: #fbfcff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  min-height: 44px;
}

.customer-home-checkout .invalid input,
.customer-home-checkout .invalid textarea {
  border-color: rgba(220, 38, 38, 0.52);
  background: #fffafa;
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.12);
}

.customer-home-location-pin.invalid {
  border-color: rgba(220, 38, 38, 0.38);
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.1);
}

.customer-home-field-error {
  margin: 0;
  color: #c2410c;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.3;
}

.customer-home-checkout textarea {
  min-height: 44px;
  max-height: 72px;
  resize: vertical;
}

.customer-home-service-strip {
  position: relative;
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 8px;
  align-items: center;
  min-height: 50px;
  padding: 8px 10px;
  overflow: hidden;
  border: 1px solid rgba(28, 84, 152, 0.3);
  border-radius: 14px;
  background: linear-gradient(135deg, #c2ddff 0%, #d9ecff 48%, #b7d8ff 100%);
  box-shadow: 0 12px 24px rgba(35, 82, 132, 0.14);
}

.customer-home-service-strip::before {
  content: none;
}

.customer-home-service-strip.delivery {
  border-color: rgba(255, 106, 0, 0.34);
  background: linear-gradient(135deg, #fff0d9 0%, #fff8eb 48%, #ffe0bd 100%);
  box-shadow: 0 12px 24px rgba(255, 106, 0, 0.13);
}

.customer-home-service-icon,
.customer-home-method-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 13px;
  overflow: hidden;
  background: #eef5ff;
  box-shadow: 0 8px 16px rgba(67, 94, 145, 0.18);
}

.customer-home-method-icon {
  width: 32px;
  height: 32px;
  border-radius: 11px;
  box-shadow: 0 6px 13px rgba(67, 94, 145, 0.12);
}

.customer-home-service-icon.delivery,
.customer-home-method-icon.delivery {
  border: 1px solid rgba(255, 106, 0, 0.18);
  background: linear-gradient(145deg, #fff5eb 0%, #ffffff 100%);
}

.customer-home-service-icon.pickup,
.customer-home-method-icon.pickup {
  border: 1px solid rgba(24, 78, 128, 0.18);
  background: linear-gradient(145deg, #eef6ff 0%, #ffffff 100%);
}

.customer-home-service-svg {
  display: block;
  width: 31px;
  height: 31px;
}

.customer-home-service-icon .customer-home-service-svg {
  width: 34px;
  height: 34px;
}

.customer-home-service-svg .speed,
.customer-home-service-svg .handle,
.customer-home-service-svg .front {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.customer-home-service-svg.delivery .speed {
  stroke: #ff6a00;
  stroke-width: 5;
}

.customer-home-service-svg.delivery .box {
  fill: #ff6a00;
}

.customer-home-service-svg.delivery .body,
.customer-home-service-svg.delivery .front,
.customer-home-service-svg.delivery .wheel {
  fill: none;
  stroke: #0d0d0d;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.customer-home-service-svg.delivery .wheel {
  fill: #0d0d0d;
  stroke-width: 0;
}

.customer-home-service-svg.delivery .hub {
  fill: #ffffff;
}

.customer-home-service-svg.pickup .basket,
.customer-home-service-svg.pickup .handle-grip {
  fill: #184e80;
}

.customer-home-service-svg.pickup .handle {
  stroke: #184e80;
  stroke-width: 5;
}

.customer-home-service-svg.pickup .slot {
  fill: none;
  stroke: #ffffff;
  stroke-width: 4;
  stroke-linecap: round;
}

.customer-home-service-copy {
  display: grid;
  gap: 2px;
}

.customer-home-service-copy span {
  color: #5f708c;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: none;
}

.customer-home-service-copy strong {
  color: #14233d;
  font-size: 0.9rem;
}

.customer-home-service-copy small {
  color: #4f617c;
  font-size: 0.76rem;
  font-weight: 500;
}

.customer-home-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.customer-home-pickup-note {
  margin-top: -2px;
  padding: 8px 10px;
  border: 1px solid rgba(67, 94, 145, 0.1);
  border-radius: 10px;
  background: rgba(242, 247, 255, 0.68);
  color: #667085;
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.42;
}

.customer-home-location-pin {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 7px 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(67, 94, 145, 0.16);
  border-radius: 14px;
  background: linear-gradient(145deg, #edf5ff 0%, #ffffff 82%);
  box-shadow: 0 8px 20px rgba(35, 52, 86, 0.07);
}

.customer-home-location-pin.is-pinned {
  border-color: rgba(15, 118, 110, 0.3);
  background: linear-gradient(145deg, #f1fbf7 0%, #ffffff 78%);
}

.customer-home-location-pin.needs-confirmation {
  border-color: rgba(245, 158, 11, 0.42);
  background: linear-gradient(145deg, #fff8e6 0%, #ffffff 78%);
}

.customer-home-location-visual {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background:
    linear-gradient(#ffffff 0 0) 50% 50% / 28px 2px no-repeat,
    linear-gradient(90deg, #ffffff 0 0) 50% 50% / 2px 28px no-repeat,
    linear-gradient(145deg, #435e91, #0f766e);
  box-shadow: 0 9px 16px rgba(67, 94, 145, 0.18);
}

.customer-home-pin-marker {
  width: 12px;
  height: 12px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: #f5b938;
  box-shadow: 0 0 0 5px rgba(245, 185, 56, 0.2);
}

.customer-home-location-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.customer-home-location-copy span {
  color: #5f708c;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: none;
}

.customer-home-location-copy strong {
  color: #14233d;
  font-size: 0.9rem;
}

.customer-home-location-actions {
  grid-column: 1 / -1;
  display: grid;
  gap: 7px;
  align-items: stretch;
}

.customer-home-location-btn {
  width: 100%;
  min-height: 40px;
  border-radius: 12px;
  padding: 9px 12px;
  font-size: 0.82rem;
}

.customer-home-location-note {
  margin: 0;
  padding: 8px 10px;
  border: 1px solid rgba(67, 94, 145, 0.1);
  border-radius: 10px;
  background: rgba(248, 250, 252, 0.86);
  color: #667085;
  font-size: 0.76rem;
  font-weight: 560;
  line-height: 1.35;
}

.customer-home-location-note.warning {
  border-color: rgba(244, 63, 94, 0.14);
  background: rgba(255, 241, 242, 0.78);
  color: #b42318;
}

.customer-home-location-btn.is-confirmed,
.customer-home-location-btn:disabled {
  border-color: rgba(15, 118, 110, 0.18);
  background: #edf8f4;
  color: #0f766e;
  opacity: 1;
}

.customer-home-inline-map {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid rgba(67, 94, 145, 0.16);
  border-radius: 12px;
  background: #eef3ff;
  color: #274272;
  font-weight: 900;
  text-decoration: none;
}

.customer-home-maplibre-map-card {
  grid-column: 1 / -1;
  overflow: hidden;
  border: 1px solid rgba(67, 94, 145, 0.16);
  border-radius: 14px;
  background: #e8f1ff;
  box-shadow: 0 8px 18px rgba(67, 94, 145, 0.08);
}

.customer-home-maplibre-map {
  position: relative;
  display: block;
  width: 100%;
  height: 360px;
  min-height: 360px;
  overflow: hidden;
  border: 0;
  background: #e8f1ff;
  cursor: grab;
  touch-action: none;
}

.customer-home-maplibre-map:active {
  cursor: grabbing;
}

.customer-home-maplibre-map canvas {
  cursor: grab;
}

.customer-home-maplibre-map canvas:active {
  cursor: grabbing;
}

.customer-home-map-loading {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  gap: 10px;
  min-height: 360px;
  padding: 18px;
  color: #4f617c;
  font-size: 0.86rem;
  font-weight: 800;
  text-align: center;
  background: linear-gradient(180deg, rgba(248, 251, 255, 0.96), rgba(232, 241, 255, 0.94));
}

.customer-home-map-loading::before {
  content: "";
  width: 24px;
  height: 24px;
  border: 3px solid rgba(79, 97, 124, 0.2);
  border-top-color: #2f5592;
  border-radius: 999px;
  animation: customerHomeMapLoadingSpin 0.8s linear infinite;
}

.customer-home-map-loading span {
  display: block;
}

@keyframes customerHomeMapLoadingSpin {
  to { transform: rotate(360deg); }
}

.customer-home-static-map {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  overflow: hidden;
  background: #dceafe;
}

.customer-home-static-map img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.customer-home-static-map::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(47, 85, 146, 0.08));
}

.customer-home-static-map-action {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  display: inline-grid;
  place-items: center;
  min-width: 72px;
  min-height: 42px;
  padding: 7px 10px;
  border: 1px solid rgba(67, 94, 145, 0.2);
  border-radius: 14px;
  background: #ffffff;
  color: #145b73;
  box-shadow: 0 10px 20px rgba(35, 52, 86, 0.2);
  font-size: 0.62rem;
  font-weight: 900;
  line-height: 1.05;
  text-align: center;
  cursor: pointer;
}

.customer-home-static-map-action:hover,
.customer-home-static-map-action:focus,
.customer-home-static-map-action:focus-visible,
.customer-home-static-map-action:active {
  background: #ffffff;
  color: #145b73;
  opacity: 1;
}

.customer-home-maplibre-map .maplibregl-ctrl-attrib {
  font-size: 0.62rem;
}

.customer-home-maplibre-pin {
  position: relative;
  width: 28px;
  height: 28px;
  border: 3px solid #ffffff;
  border-radius: 999px 999px 999px 0;
  background: #2f5592;
  box-shadow: 0 8px 18px rgba(28, 52, 91, 0.28);
  transform: rotate(-45deg);
}

.customer-home-maplibre-pin::after {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 999px;
  background: #ffffff;
}

.customer-home-map-locate-control.maplibregl-ctrl button {
  display: grid;
  grid-template-rows: auto auto;
  place-items: center;
  gap: 1px;
  width: 64px;
  min-width: 64px;
  min-height: 58px;
  height: auto;
  padding: 5px 8px 6px;
  border: 1px solid rgba(67, 94, 145, 0.16);
  border-radius: 14px;
  background: #ffffff;
  color: #145b73;
  box-shadow: 0 10px 20px rgba(35, 52, 86, 0.22);
  text-transform: none;
  cursor: pointer;
}

.customer-home-map-locate-control.maplibregl-ctrl button:hover,
.customer-home-map-locate-control.maplibregl-ctrl button:focus,
.customer-home-map-locate-control.maplibregl-ctrl button:focus-visible,
.customer-home-map-locate-control.maplibregl-ctrl button:active {
  background: #ffffff;
  color: #145b73;
  opacity: 1;
}

.customer-home-map-locate-control.maplibregl-ctrl button:active {
  transform: translateY(1px);
}

.customer-home-locate-icon,
.customer-home-locate-icon svg {
  display: block;
  width: 23px;
  height: 23px;
}

.customer-home-locate-icon svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.customer-home-map-locate-control.maplibregl-ctrl .customer-home-locate-label {
  display: block;
  max-width: 44px;
  color: #145b73;
  font-size: 0.5rem;
  font-weight: 800;
  line-height: 1.05;
  text-align: center;
  text-transform: none;
  white-space: normal;
}

.customer-home-review {
  gap: 6px;
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(67, 94, 145, 0.18);
  border-radius: 14px;
  background: linear-gradient(145deg, #e8f1ff 0%, #fff9ec 100%);
  box-shadow: 0 9px 22px rgba(67, 94, 145, 0.09);
}

.customer-home-review p {
  font-size: 0.82rem;
}

.customer-home-review-row,
.customer-home-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 22px;
  font-size: 0.84rem;
}

.customer-home-review-row span,
.customer-home-total-row span {
  color: #667085;
}

.customer-home-review-row strong,
.customer-home-total-row strong {
  color: #14233d;
  text-align: right;
}

.customer-home-total-row {
  border-top: 1px dashed #d8e0ea;
  padding-top: 6px;
  margin-top: 2px;
  font-weight: 900;
}

.customer-home-review.is-total-only {
  padding-block: 9px;
}

.customer-home-review.is-total-only .customer-home-total-row {
  min-height: 20px;
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.customer-home-payment-card,
.customer-home-tracking-card {
  padding: 14px;
  border: 1px solid rgba(72, 91, 128, 0.16);
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 12px 28px rgba(35, 52, 86, 0.08);
}

.customer-home-status {
  align-items: stretch;
}

.customer-home-status .customer-home-tracking-card {
  width: 100%;
  max-width: none;
  gap: 10px;
  margin: 0;
  border-radius: 18px;
}

.customer-home-driver-search-panel {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 14px;
  align-items: center;
  padding: 16px;
  overflow: hidden;
  border: 1px solid rgba(47, 85, 146, 0.18);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(232, 243, 255, 0.96), rgba(255, 248, 236, 0.96)),
    repeating-linear-gradient(135deg, rgba(47, 85, 146, 0.08) 0 1px, transparent 1px 12px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82), 0 12px 26px rgba(35, 52, 86, 0.08);
}

.customer-home-driver-search-panel.is-expired {
  border-color: rgba(255, 106, 0, 0.28);
  background: linear-gradient(135deg, #fff7ed, #eef8ff);
}

.customer-home-driver-search-visual {
  display: grid;
  place-items: center;
  min-height: 96px;
}

.customer-home-driver-radar {
  position: relative;
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(47, 85, 146, 0.08), rgba(15, 118, 110, 0.34), rgba(255, 106, 0, 0.14), rgba(47, 85, 146, 0.08));
  animation: customer-home-driver-radar 1.35s linear infinite;
}

.customer-home-driver-radar::before,
.customer-home-driver-radar::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(47, 85, 146, 0.22);
}

.customer-home-driver-radar::before {
  inset: 12px;
}

.customer-home-driver-radar::after {
  inset: 27px;
}

.customer-home-driver-radar i {
  position: relative;
  z-index: 1;
  width: 22px;
  height: 22px;
  border: 5px solid #ffffff;
  border-radius: 50%;
  background: #2f5592;
  box-shadow: 0 8px 18px rgba(47, 85, 146, 0.22);
}

.customer-home-driver-search-copy {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.customer-home-driver-search-copy small {
  color: #2f5592;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.customer-home-driver-search-copy h3 {
  margin: 0;
  color: #11233d;
  font-size: 1.03rem;
  line-height: 1.2;
}

.customer-home-driver-search-copy p {
  margin: 0;
  color: #596981;
  font-size: 0.83rem;
  line-height: 1.35;
}

.customer-home-driver-search-progress {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(47, 85, 146, 0.12);
}

.customer-home-driver-search-progress span {
  display: block;
  width: var(--driver-search-progress, 0%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2f5592, #0f766e, #ff6a00);
}

.customer-home-driver-search-timer {
  color: #123f78;
  font-size: 1.5rem;
  line-height: 1;
}

.customer-home-driver-search-copy em {
  color: #6b7890;
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 700;
}

@keyframes customer-home-driver-radar {
  to {
    transform: rotate(360deg);
  }
}

.customer-home-status .self-order-success-detail {
  display: grid;
  gap: 0;
  padding: 5px 9px;
  overflow: hidden;
  border: 1px solid rgba(72, 91, 128, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.customer-home-status .self-order-success-detail span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 25px;
  padding: 4px 0;
  border-bottom: 1px solid rgba(203, 213, 225, 0.48);
  background: transparent;
  font-size: 0.76rem;
}

.customer-home-status .self-order-success-detail span:last-child {
  border-bottom: 0;
}

.customer-home-status .self-order-success-detail b {
  color: #6f7d96;
  font-size: 0.74rem;
  font-weight: 520;
  line-height: 1.2;
}

.customer-home-status .self-order-success-detail strong {
  color: #11233d;
  font-size: 0.78rem;
  font-weight: 640;
  line-height: 1.2;
  text-align: right;
}

.customer-home-status-panel {
  display: grid;
  gap: 9px;
  padding: 12px;
  border: 1px solid rgba(67, 94, 145, 0.16);
  border-radius: 16px;
  background: linear-gradient(145deg, #edf5ff 0%, #ffffff 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.customer-home-status-panel h4 {
  margin: 0;
  color: #11233d;
  font-size: 0.94rem;
}

.customer-home-order-summary {
  gap: 0;
}

.customer-home-order-summary-total strong {
  color: #005a44;
  font-size: 0.86rem;
  font-weight: 840;
}

.customer-home-payment-breakdown {
  margin-top: 6px;
  border-top: 1px solid rgba(203, 213, 225, 0.48);
}

.customer-home-payment-breakdown summary {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 8px 0 6px;
  list-style: none;
  cursor: pointer;
}

.customer-home-payment-breakdown summary::-webkit-details-marker {
  display: none;
}

.customer-home-status .self-order-success-detail .customer-home-payment-breakdown summary span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  min-height: 32px;
  padding: 6px 14px;
  border: 1px solid rgba(0, 112, 243, 0.24);
  border-bottom: 1px solid rgba(0, 112, 243, 0.24);
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff 0%, #eef6ff 100%);
  color: #0b5aa8;
  font-size: 0.75rem;
  font-weight: 820;
  box-shadow: 0 6px 14px rgba(26, 96, 168, 0.12);
}

.customer-home-payment-breakdown summary span::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: -3px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.18s ease;
}

.customer-home-payment-breakdown[open] summary span::after {
  margin-top: 3px;
  transform: rotate(225deg);
}

.customer-home-payment-breakdown div {
  position: relative;
  display: grid;
  overflow: hidden;
  padding: 4px 10px;
  border: 1px solid rgba(148, 116, 65, 0.22);
  border-radius: 12px;
  background: #fffdf7;
  color: #3d3528;
  font-family: "Arial", "Helvetica", sans-serif;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.customer-home-payment-breakdown div span {
  min-height: 30px;
  padding: 7px 2px;
  gap: 14px;
  border-bottom: 0;
}

.customer-home-payment-breakdown div b {
  min-width: 0;
  overflow-wrap: anywhere;
}

.customer-home-payment-breakdown div strong {
  flex: 0 0 auto;
}

.customer-home-payment-breakdown-item b {
  max-width: 68%;
  color: #4b3f2d;
  font-weight: 760;
}

.customer-home-payment-breakdown-fee b,
.customer-home-payment-breakdown-grand b {
  color: #6b5a3d;
  font-weight: 720;
}

.customer-home-payment-breakdown-fee {
  border-top: 1px solid rgba(148, 116, 65, 0.22);
}

.customer-home-payment-breakdown-grand {
  border-top: 2px solid rgba(17, 35, 61, 0.36);
  background: #fff8e9;
}

.customer-home-payment-breakdown-grand b {
  color: #27364a;
  font-weight: 900;
}

.customer-home-payment-breakdown-grand strong {
  color: #005a44;
  font-weight: 900;
}

.customer-home-payment-breakdown div span:last-child {
  border-bottom: 0;
}

.customer-home-order-code {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 34px;
  padding: 5px 12px;
  border: 1px solid #b9dec9;
  border-radius: 14px;
  background: #f4fbf7;
  color: #14532d;
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: 0;
}

.customer-home-qris-placeholder {
  display: grid;
  gap: 8px;
  place-items: center;
  min-height: 168px;
  padding: 18px;
  border: 1px dashed #b8c2d2;
  border-radius: 16px;
  background: #f8fafc;
  color: #475467;
  text-align: center;
  font-weight: 800;
}

.customer-home-qris-placeholder.error {
  border-color: #fed7aa;
  background: #fff7ed;
  color: #9a3412;
}

.customer-home-qris-placeholder.duitku {
  border-style: solid;
  border-color: rgba(0, 84, 166, 0.18);
  background: linear-gradient(145deg, #eef6ff 0%, #ffffff 82%);
  color: #14233d;
}

.customer-home-qris-placeholder.duitku span {
  color: #5f708c;
  font-size: 0.78rem;
  font-weight: 650;
}

.customer-home-duitku-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 14px;
  background: #0054a6;
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(0, 84, 166, 0.18);
}

.customer-home-duitku-link:focus-visible {
  outline: 3px solid rgba(0, 84, 166, 0.25);
  outline-offset: 2px;
}

.customer-home-qris-placeholder.error span {
  color: #9a3412;
  font-size: 0.78rem;
  font-weight: 600;
  text-align: center;
}

.customer-home-qris-card {
  display: grid;
  gap: 10px;
  place-items: center;
  padding: 14px;
  border: 1px solid rgba(67, 94, 145, 0.16);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(35, 52, 86, 0.07);
}

.customer-home-qris-card img {
  display: block;
  width: min(100%, 260px);
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 12px;
  background: #fff;
}

.customer-home-qris-card span {
  color: #475467;
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
}

.customer-home-dummy-panel {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px dashed #f59e0b;
  border-radius: 16px;
  background: #fffbeb;
  color: #92400e;
}

.customer-home-dummy-panel small {
  color: #b45309;
  font-size: 0.74rem;
  font-weight: 850;
}

.customer-home-dummy-panel strong {
  color: #78350f;
  font-size: 0.82rem;
  line-height: 1.35;
}

.customer-home-progress-wrap {
  display: grid;
  gap: 9px;
  width: 100%;
}

.customer-home-progress {
  align-self: stretch;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  margin-top: 2px;
}

.customer-home-progress.is-delivery {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.customer-home-progress span {
  display: grid;
  gap: 6px;
  justify-items: center;
  min-width: 0;
  min-height: 74px;
  padding: 10px 7px;
  border: 0;
  border-radius: 8px;
  background: #f4f7fb;
  color: #667085;
  text-align: center;
  font-weight: 800;
  font-size: 0.84rem;
}

.customer-home-progress i {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #d8e0ea;
  color: #475467;
  font-style: normal;
}

.customer-home-progress span.active {
  background: #edf7f2;
  color: #14532d;
}

.customer-home-progress span.active i {
  background: #2f9b76;
  color: #fff;
}

.customer-home-progress b {
  line-height: 1.15;
}

.customer-home-progress-detail {
  display: block;
  padding: 2px 0 0;
  border: 0;
  background: transparent;
}

.customer-home-progress-detail p {
  margin: 0;
  color: #4f617c;
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.32;
  text-align: center;
}

.customer-home-progress:not(.is-paid) span:first-child {
  background: #fff7ed;
  color: #9a3412;
}

.customer-home-progress:not(.is-paid) span:first-child i {
  background: #fb923c;
  color: #fff;
}

.customer-home-checkout .self-order-submit-error {
  margin: 8px 8px 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: #c2410c;
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.35;
  text-align: left;
}

.customer-home-driver-card {
  display: block;
  padding: 10px;
  border: 1px solid #bfd7ff;
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.18)),
    linear-gradient(145deg, #eaf3ff 0%, #f8fbff 100%);
  box-shadow: 0 10px 24px rgba(47, 85, 146, 0.1);
}

.customer-home-driver-main {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.customer-home-driver-avatar {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: linear-gradient(145deg, #4f8de8, #0f766e);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 950;
  box-shadow: 0 10px 20px rgba(47, 85, 146, 0.18);
}

.customer-home-driver-main > div {
  min-width: 0;
  align-self: center;
}

.customer-home-driver-main > div small {
  display: block;
  color: #2f5592;
  font-size: 0.69rem;
  font-weight: 600;
  line-height: 1.1;
}

.customer-home-driver-main strong {
  display: block;
  margin-top: 0;
  color: #10233d;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.12;
}

.customer-home-help-link {
  color: #2f5592;
  font-weight: 900;
  text-decoration: none;
}

.customer-home-driver-contact {
  display: grid;
  gap: 2px;
  justify-items: center;
  min-width: 122px;
  padding: 6px 8px;
  border: 1px solid rgba(47, 85, 146, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.62);
}

.customer-home-driver-contact small {
  color: #6f7d96;
  font-size: 0.6rem;
  font-weight: 520;
  line-height: 1.15;
  text-align: center;
}

.customer-home-driver-card .customer-home-driver-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #2f5592;
  font-size: 0.72rem;
  font-weight: 850;
  line-height: 1.15;
  text-decoration: none;
  white-space: nowrap;
}

.customer-home-dev-panel {
  margin-top: 0;
  padding: 10px;
  border: 1px dashed #f59e0b;
  border-radius: 16px;
  background: #fffbeb;
}

.customer-home-dev-panel small {
  color: #92400e;
  font-weight: 800;
}

.customer-home-active-card {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid rgba(72, 91, 128, 0.16);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(35, 52, 86, 0.07);
}

.customer-home-active-card button {
  width: fit-content;
  min-width: 120px;
}

.self-order-bottom-nav button.is-disabled {
  opacity: 0.54;
}

.self-order-bottom-nav button.is-disabled .self-order-nav-icon {
  filter: grayscale(0.25);
}

@media (max-width: 560px) {
  .customer-home-field-grid {
    grid-template-columns: 1fr;
  }

  .customer-home-choice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .customer-home-method-card {
    min-height: 42px;
    padding-right: 24px;
  }

  .customer-home-location-pin {
    grid-template-columns: 42px 1fr;
    padding: 10px;
  }

  .customer-home-location-visual {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }

  .customer-home-location-actions,
  .customer-home-active-card button {
    width: 100%;
  }

  .customer-home-location-btn {
    flex: 1 1 100%;
  }

  .customer-home-progress {
    gap: 4px;
  }

  .customer-home-progress span {
    gap: 4px;
    min-height: 66px;
    padding: 8px 4px;
    font-size: 0.64rem;
  }

  .customer-home-progress i {
    width: 26px;
    height: 26px;
    font-size: 0.78rem;
  }

  .customer-home-progress.is-delivery span {
    min-height: 70px;
    padding-inline: 3px;
  }

  .customer-home-progress.is-delivery b {
    font-size: 0.62rem;
  }

  .customer-home-driver-search-panel {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .customer-home-driver-search-visual {
    min-height: 86px;
  }

  .customer-home-driver-card {
    padding: 12px;
  }
}

@media (max-width: 760px) {
  .customer-home-support-chip {
    min-height: 30px;
    padding: 0 9px;
    font-size: 0.68rem;
  }

  .customer-home-support {
    margin-top: 12px;
    padding: 9px 10px;
    scroll-margin-top: 64px;
  }

  .customer-home-support-head {
    grid-template-columns: 32px minmax(0, 1fr);
  }

  .customer-home-support-logo {
    width: 32px;
    height: 32px;
  }

  .customer-home-support-copy strong {
    color: #0054a6;
    font-size: 0.86rem;
    line-height: 1.15;
  }

  .customer-home-support-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .customer-home-support-item {
    grid-template-columns: 66px minmax(0, 1fr);
    padding: 2px 0;
  }
}






.customer-home-checkout .fresin-service-strip { margin: 0 0 13px; padding: 10px; }
.customer-home-checkout-shell.has-service-header { overflow: hidden; padding: 0; }
.customer-home-checkout .customer-home-checkout-shell > .is-checkout-header { margin: 0; padding: 14px 16px; border: 0; border-bottom: 1px solid #ccdef5; border-radius: 0; background: linear-gradient(110deg, #e1edff, #eef5ff); box-shadow: none; }
.customer-home-checkout .is-checkout-header .fresin-service-strip-copy { color: #1c5083; font-size: 14px; font-weight: 600; line-height: 1.4; letter-spacing: 0; text-transform: none; }
.customer-home-checkout .is-checkout-header .fresin-service-strip-copy small { margin-top: 3px; color: #6b84a1; font-size: 11px; font-weight: 400; line-height: 1.5; letter-spacing: 0; text-transform: none; }
.customer-home-checkout .customer-home-checkout-shell.has-service-header > .self-order-checkout { padding: 16px; }
.customer-home-checkout .self-order-customer-field>small { color: #6a809a; font-size: 11px; font-weight: 400; }
.customer-home-pickup-timing {
  display: grid; gap: 10px; min-width: 0; padding: 14px;
  border: 1px solid #d2e1f5; border-radius: 19px;
  background: linear-gradient(135deg, #edf4ff, #f8fbff);
  box-shadow: inset 0 1px 0 #fff, 0 5px 14px #275b8d08;
}
.customer-home-pickup-timing .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.customer-home-pickup-heading { display: flex; align-items: center; gap: 9px; }
.customer-home-pickup-heading > strong { color: #215b91; font-size: 14px; font-weight: 600; line-height: 1.35; }
.customer-home-pickup-clock { display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 34px; border: 1px solid #efdfbd; border-radius: 12px; background: #fff2d9; color: #b1803f; }
.customer-home-pickup-clock > svg { width: 27px; height: 27px; }
.customer-home-pickup-timing .self-order-customer-field { margin: 0; min-width: 0; }
.customer-home-checkout .customer-home-pickup-timing input[type="time"] { width: 100%; min-width: 0; min-height: 46px; padding: 11px 13px; border: 1px solid #cbdcf1; border-radius: 12px; background: #fff; color: #215b91; font: inherit; font-size: 15px; cursor: pointer; box-sizing: border-box; color-scheme: light; }
.customer-home-pickup-timing input[type="time"]::-webkit-calendar-picker-indicator { cursor: pointer; opacity: .75; }
.customer-home-pickup-timing > small { color: #6a809a; font-size: 11px; line-height: 1.4; }
.customer-home-timing-options { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.customer-home-timing-options > button {
  min-height: 42px; padding: 10px 12px; border: 1px solid #d6e1f1; border-radius: 12px;
  background: #ffffffb8; color: #58718f; font: inherit; font-size: 13px; cursor: pointer;
}
.customer-home-timing-options > button[aria-pressed="true"] { border-color: #8db7e8; background: #dfedff; color: #17568c; font-weight: 700; box-shadow: inset 0 1px 0 #fff; }
.customer-home-timing-options > button:hover { border-color: #8db7e8; color: #17568c; }
.customer-home-timing-options > button:focus-visible { outline: 2px solid #17568c; outline-offset: 2px; }

.customer-home-support[hidden] { display: none !important; }
.customer-home-support .customer-home-support-head { grid-template-columns: 32px minmax(0,1fr) 28px; }
.customer-home-support-close { width: 28px; height: 28px; padding: 0; border: 1px solid #c9d4e3; border-radius: 9px; background: #f5f8fd; color: #356a9c; font-size: 20px; line-height: 1; cursor: pointer; }
.customer-home-support-close:hover { background: #e8effa; color: #164c83; }
.customer-home-checkout .customer-home-location-pin {
  grid-template-columns: 42px minmax(0,1fr); padding: 13px; gap: 11px; border: 1px solid #bad2f1;
  border-radius: 23px; background: #edf4ff; box-shadow: 0 12px 24px #24568a12,inset 0 1px 0 #fff;
}
.customer-home-checkout .customer-home-location-pin.is-pinned { border-color: #bad2f1; background: #edf4ff; }
.customer-home-checkout .customer-home-location-pin.needs-confirmation { border-color: #e6cfaa; background: #fff6e7; }
.customer-home-checkout .customer-home-location-visual {
  border: 1px solid #efdfbd; border-radius: 14px;
  background: linear-gradient(#2b6499 0 0) 50% 50%/26px 1.5px no-repeat,linear-gradient(90deg,#2b6499 0 0) 50% 50%/1.5px 26px no-repeat,#fff1d8;
  box-shadow: 0 5px 12px #37628b10;
}
.customer-home-checkout .customer-home-location-copy > span { color: #6a809b; font-size: 10px; font-weight: 500; }
.customer-home-checkout .customer-home-location-copy > strong { color: #194f80; font-size: 13px; line-height: 1.35; }
.customer-home-checkout .customer-home-maplibre-map-card { border: 1px solid #cedcf0; border-radius: 17px; overflow: hidden; box-shadow: 0 5px 12px #204f7510; }
.customer-home-checkout .customer-home-maplibre-map { height: clamp(260px,45dvh,340px); min-height: 260px; }
.customer-home-checkout .customer-home-map-loading { min-height: 0; }
.customer-home-checkout .customer-home-location-actions { gap: 8px; }
.customer-home-checkout .customer-home-location-btn.self-order-secondary { min-height: 43px; border: 1px solid #175a94; border-radius: 13px; background: #175a94; color: #fff; font-size: 12px; box-shadow: 0 6px 12px #174f7f16; }
.customer-home-checkout .customer-home-location-btn.self-order-secondary:hover { background: #124b7d; color: #fff; }
.customer-home-checkout .customer-home-location-btn.is-confirmed { border-color: #bed9cf; background: #e4f1e9; color: #2a6d54; box-shadow: none; }
.customer-home-current-location-btn.self-order-secondary { width: 100%; min-height: 44px; padding: 10px 14px; border: 1px solid #b8cee9; border-radius: 14px; background: #e0edff; color: #175a94; font-size: 12px; font-weight: 650; }
.customer-home-current-location-btn.self-order-secondary:hover { background: #d0e3ff; color: #134d80; }
.customer-home-current-location-btn.self-order-secondary.is-confirmed { background: #e4f1e9; border-color: #bed9cf; color: #2a6d54; }
.customer-home-location-actions button[hidden] { display: none; }
.customer-home-checkout .customer-home-location-note { text-align: center; padding: 0 2px; border: 0; background: transparent; color: #6d8198; font-size: 11px; line-height: 1.5; }
.customer-home-checkout .customer-home-location-note.warning { color: #8d6530; }
.customer-home-map-locate-control.maplibregl-ctrl button {
  position: relative; isolation: isolate; border: 1px solid #efce90; background: #fff1d8; color: #164f81;
  box-shadow: 0 7px 16px #264b762d; animation: fresinLocateNudge 3.6s ease-in-out infinite;
}
.customer-home-map-locate-control.maplibregl-ctrl button::before { content: ""; position: absolute; inset: -4px; z-index: -1; border: 2px solid #e0b66e; border-radius: 18px; opacity: 0; pointer-events: none; animation: fresinLocateRing 3.6s ease-out infinite; }
.customer-home-map-locate-control.maplibregl-ctrl button .customer-home-locate-label { color: #164f81; font-size: 8px; }
.customer-home-map-locate-control.maplibregl-ctrl button:hover,
.customer-home-map-locate-control.maplibregl-ctrl button:focus,
.customer-home-map-locate-control.maplibregl-ctrl button:active,
.customer-home-map-locate-control.maplibregl-ctrl button:focus-visible { background-color: #ffe5b6 !important; background-image: none; opacity: 1 !important; color: #164f81; outline: 2px solid #316d9e; outline-offset: 2px; }
.customer-home-map-locate-control.is-used button,
.customer-home-map-locate-control.is-used button::before { animation: none; }
.customer-home-maplibre-map .maplibregl-ctrl-attrib.maplibregl-compact { min-height: 24px; border-radius: 12px; background-color: #ffffffeb; box-shadow: 0 2px 6px #21446d15; }
@keyframes fresinLocateNudge { 0%,65%,100% { transform: translateY(0); } 76% { transform: translateY(-4px); } 86% { transform: translateY(0); } 93% { transform: translateY(-2px); } }
@keyframes fresinLocateRing { 0%,65%,100% { transform: scale(1); opacity: 0; } 70% { opacity: .7; } 94% { transform: scale(1.2); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .customer-home-map-locate-control:not([data-motion="on"]).maplibregl-ctrl button,
  .customer-home-map-locate-control:not([data-motion="on"]).maplibregl-ctrl button::before { animation: none; }
}

/* Compact checkout keeps persistent accessible labels off the visual layout. */
.customer-home-checkout .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.customer-home-checkout .customer-home-field-grid { gap: 10px; }
.customer-home-checkout input::placeholder, .customer-home-checkout textarea::placeholder { color: #75869b; opacity: 1; }
/* Match the blue customer header with translucent status chips. */
.customer-home-driver-search-panel {
  position: relative; isolation: isolate; gap: 16px; padding: 22px 18px;
  border: 1px solid #ffffff30; border-radius: 25px;
  background: radial-gradient(ellipse at 100% 0%, #5c9bd844, transparent 62%), linear-gradient(135deg, #123d72, #19578e 65%, #24669a);
  box-shadow: inset 0 1px 0 #ffffff26, 0 12px 26px #183e6d20; color: #fff;
}
.customer-home-driver-search-panel::after { content: ""; position: absolute; z-index: -1; pointer-events: none; right: -100px; top: -100px; width: 260px; height: 260px; border: 1px solid #ffffff12; border-radius: 50%; box-shadow: 0 0 0 24px #ffffff04, 0 0 0 48px #ffffff03; }
.customer-home-driver-search-panel.is-expired { border-color: #f3dfbb; background: linear-gradient(135deg, #fff5e3, #f9ead1); color: #75502b; }
.customer-home-driver-search-copy h3 { color: inherit; font-size: 19px; line-height: 1.3; }
.customer-home-driver-search-copy .customer-home-driver-search-chip { padding: 11px 13px; border: 1px solid #ffffff26; border-radius: 16px; background: #ffffff12; color: #edf5ff; font-size: 12px; line-height: 1.6; }
.customer-home-driver-search-copy em { color: #cfdfef; font-size: 11px; line-height: 1.5; }
.customer-home-driver-search-progress { height: 6px; margin-top: 4px; background: #ffffff26; }
.customer-home-driver-search-progress span { background: linear-gradient(90deg, #8fc9ee, #ffe0a1); }
.customer-home-driver-search-timer { color: #fff1d8; font-size: 29px; font-variant-numeric: tabular-nums; }
.customer-home-driver-radar { background: conic-gradient(from 0deg, #ffffff00, #a6d8ee55, #ffe4ad66, #ffffff00); }
.customer-home-driver-radar::before, .customer-home-driver-radar::after { border-color: #ffffff40; }
.customer-home-driver-radar i { background: #fff1d8; border-color: #ffffff; box-shadow: 0 0 0 7px #ffffff12; }
.customer-home-driver-search-panel.is-expired .customer-home-driver-search-chip { color: #75502b; border-color: #d8b88866; background: #ffffff80; }
.customer-home-driver-search-panel.is-expired em { color: #75502b; }
@media (prefers-reduced-motion: reduce) { .customer-home-driver-search-panel:not([data-motion="on"]) .customer-home-driver-radar { animation: none; } }
.customer-home-driver-search-panel[data-motion="off"] .customer-home-driver-radar { animation: none; }
.customer-home-driver-unavailable { display: grid; place-items: center; width: 104px; height: 96px; }
.customer-home-driver-unavailable svg { width: 100%; height: 100%; filter: drop-shadow(0 5px 8px #88613113); }
.customer-home-driver-search-panel.is-expired .self-order-primary { background: #8c642f; color: #fffaf0; box-shadow: 0 6px 14px #825b2b1c; }
.customer-home-driver-search-panel.is-expired .self-order-primary:hover { background: #755126; }

/* One continuous blue timeline, with a clear current step. */
.self-order-app .customer-home-progress.customer-home-statusbar {
  isolation: isolate;
  gap: 0; padding: 14px 5px 12px; margin-top: 3px; border: 1px solid #d9e5f3;
  border-radius: 19px; background: linear-gradient(150deg, #ffffff, #edf4fd);
  box-shadow: inset 0 1px 0 #fff, 0 5px 14px #234f7d08;
}
.self-order-app .customer-home-progress.customer-home-statusbar > span {
  position: relative; isolation: auto; min-height: 60px; padding: 0 2px; gap: 9px;
  align-content: start; border: 0; border-radius: 0; background: transparent; color: #8092a9;
}
.self-order-app .customer-home-progress.customer-home-statusbar > span + span::before {
  content: ""; position: absolute; z-index: 0; height: 2px; top: 14px; right: 50%; width: 100%; background: #dce6f2;
}
.self-order-app .customer-home-progress.customer-home-statusbar > span > i {
  position: relative; z-index: 1;
  width: 29px; height: 29px; box-sizing: border-box; border: 1px solid #d8e3f1;
  background: #edf3fa; color: #8a9db4; font-size: 11px; font-weight: 700;
  box-shadow: 0 0 0 4px #f7faff;
}
.self-order-app .customer-home-progress.customer-home-statusbar > span > b { font-size: 10px; font-weight: 600; line-height: 1.3; letter-spacing: -.1px; }
.self-order-app .customer-home-progress.customer-home-statusbar > span.active { color: #174e83; background: transparent; }
.self-order-app .customer-home-progress.customer-home-statusbar > span.active > i {
  border-color: #235d96; background: linear-gradient(140deg, #3179b8, #164a82); color: #fff;
  box-shadow: 0 0 0 4px #e1edfb, 0 3px 6px #164a821c;
}
.self-order-app .customer-home-progress.customer-home-statusbar > span.done { color: #416c92; }
.self-order-app .customer-home-progress.customer-home-statusbar > span.done > i { border-color: #b7d0e8; background: #dbeaf9; color: #2d638f; }
.self-order-app .customer-home-progress.customer-home-statusbar > span.done::before,
.self-order-app .customer-home-progress.customer-home-statusbar > span.current::before { background: #aac9e6; }

/* Status copy belongs with the progress timeline. */
.customer-home-progress-card { display: grid; gap: 12px; width: 100%; box-sizing: border-box; padding: 13px; border: 1px solid #d2e1f3; border-radius: 21px; background: linear-gradient(145deg, #fff, #edf4ff); box-shadow: 0 6px 16px #23558a08; }
.self-order-app .customer-home-progress-card > .customer-home-progress.customer-home-statusbar { padding: 4px 0 6px; margin: 0; border: 0; background: transparent; box-shadow: none; }
.customer-home-progress-card > .customer-home-current-status { justify-self: stretch; width: 100%; max-width: none; margin: 0; padding: 10px 12px; border: 1px solid #d4e3f6; border-radius: 12px; background: #e5effc; color: #245583; text-align: center; font-size: 12px; line-height: 1.5; font-weight: 600; }
.customer-home-current-status.is-cancelled { display: grid; gap: 6px; border-color: #eed3cf; background: #fff3ee; color: #8c4f45; }
.customer-home-current-status.is-cancelled > strong { font: inherit; font-size: 11px; font-weight: 600; }
.customer-home-current-status.is-cancelled > span { font-weight: 400; overflow-wrap: anywhere; }
/* Driver identity with a friendly illustration and a spacious contact action. */
.customer-home-driver-card { padding: 16px; border: 1px solid #cfdfef; border-radius: 21px; background: linear-gradient(135deg, #fff, #f0f6fd); box-shadow: 0 9px 22px #224f7b0a, inset 0 1px 0 #fff; }
.customer-home-driver-main { display: grid; grid-template-columns: 44px minmax(0,1fr); gap: 8px; align-items: center; }
.customer-home-driver-main:has(> .customer-home-driver-contact) { grid-template-columns: 44px minmax(0,1fr) minmax(100px,112px); }
.customer-home-driver-main > div { text-align: left; }
.customer-home-driver-main .customer-home-driver-avatar { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #edd9b7; border-radius: 15px; background: #fff5e3; box-shadow: inset 0 1px 0 #fff; }
.customer-home-driver-avatar svg { display: block; width: 44px; height: 44px; }
.customer-home-driver-main > div small { margin-bottom: 5px; color: #7c90a5; font-size: 11px; font-weight: 500; }
.customer-home-driver-main > div strong { color: #214c74; font-size: 15px; line-height: 1.3; overflow-wrap: anywhere; }
.customer-home-driver-main > .customer-home-driver-contact { grid-column: auto; display: grid; justify-items: center; gap: 5px; min-width: 0; padding: 8px 6px; border: 1px solid #d8e8dd; border-radius: 14px; background: #f0f7f2; }
.customer-home-driver-contact small { color: #70877a; font-size: 9px; line-height: 1.35; text-align: center; }
.customer-home-driver-card .customer-home-driver-whatsapp { min-height: 30px; padding: 4px 7px; border-radius: 10px; background: #e2efe6; color: #386c4b; font-size: 11px; font-weight: 700; }
.customer-home-driver-card .customer-home-driver-whatsapp:hover { background: #d5e8dc; color: #285539; }
